package com.dms.modules.community.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 社区评论数据传输对象
 */
@Data
@ApiModel(value = "社区评论DTO", description = "社区评论信息")
public class CommunityCommentDTO {
    
    @ApiModelProperty("评论ID")
    private Long id;
    
    @ApiModelProperty("帖子ID")
    private Long postId;
    
    @ApiModelProperty("用户ID")
    private Long userId;
    
    @ApiModelProperty("用户昵称")
    private String userNickname;
    
    @ApiModelProperty("用户头像")
    private String userAvatar;
    
    @ApiModelProperty("父评论ID")
    private Long parentId;
    
    @ApiModelProperty("评论内容")
    private String content;
    
    @ApiModelProperty("点赞数")
    private Integer likeCount;
    
    @ApiModelProperty("状态：0-正常，1-已删除")
    private Integer status;
    
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
} 